package com.xj.common.bussiness.transferLicense.mapper;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.xj.common.bussiness.transferLicense.entity.TbTransferLicense;
import com.xj.common.bussiness.transferLicense.entity.transferLicenseMould;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
  *  Mapper 接口
 * </p>
 *
 * @author Hmemb
 * @since 2018-01-11
 */
public interface TbTransferLicenseMapper extends BaseMapper<TbTransferLicense> {

    /**
     * 查询带照片的上户表
     * @param id
     * @return
     */
    TbTransferLicense searchTransferLicenseAndImg (@Param("id") Integer id);

    /**
     * 根据普查表的字段查询所有表信息
     * @param transferLicense
     * @return
     */
    List<transferLicenseMould> searchTransferLicenseList (TbTransferLicense transferLicense);
}
